package my.study.java.basic.algorithm.sorts;

public class Element implements Comparable<Element>{
	private int value;

	public Element(int value) {
		this.value = value;
	}

	public int getValue() {
		return value;
	}

	public int compareTo(Element o) {
		return value - o.getValue();		
	}
}
